#include "Class/Manager/Scene.hpp"

namespace		Manager
{
  Scene::Scene(Manager::Graphics &mg)
	:	AManager(false),
		_Graphics(mg),
		_Input(mg),
		_Scenes()
  {
	this->_Initialize();
  }


  Scene::~Scene() throw()
  {
	Scenes::iterator	it = this->_Scenes.begin(), ite = this->_Scenes.end();

	while (it != ite)
	  {
		Scenes::iterator		tmp = it;

		++it;
		this->_Scenes.erase(tmp);
	  }
  }
}
